package com.eedi.framework.tenant.enums;

import com.eedi.framework.common.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * 快捷方式交互类型
 * @author zybourn
 */
@Getter
@AllArgsConstructor
@ToString
public enum SysSetupShortcutTypeEnum implements BaseEnum<Integer, String> {
    /**
     * 点击跳转
     */
    CLICK_JUMP(1,"点击跳转"),
    /**
     * 悬停展示
     */
    HOVER_DISPLAY(2,"悬停展示"),

    ;

    /**
     * 状态值
     */
    private final Integer code;
    /**
     * 状态名
     */
    private final String desc;

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }

    @Override
    public String title() {
        return "快捷方式交互类型";
    }
}
